<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
	<ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
		<li><a ui-sref="main"><i class="glyphicon glyphicon-modal-window"></i> 设备管理</a></li>
		<li><a ui-sref="main.dm.dmManager.details" class="active" ng-bind="title"></a></li>
	</ul>
</div>
<div ng-show="loading" class="text-center m-t-md text-lg dataWarn"><i class="fa fa-spin fa-spinner"></i> 数据加载中...</div>
<!-- 内容区域 -->
<div class="wrapper-md content">
    <div class="panel panel-default">
        <!-- 头部 -->
        <div class="panel-heading font-bold"><!-- {{title}} -->
        <a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs" ui-sref="main.dm.dmManager.list"><i class="text-md glyphicon glyphicon-chevron-up text-muted"></i></a>
        </div>
        <!--表单-->
            <div class="panel-body">
                <form class="form-horizontal"  name="menu_form">
                    <!--人员名-->
                    <table class="table">
						<tr>
							<td>设备编码：</td>
							<td ng-bind="record.deviceCode"></td>
							<td>设备名称：</td>
							<td ng-bind="record.deviceName"></td>
						</tr>
						<tr>
							<td>设备能力：</td>
							<td ng-bind="record.abilityName"></td>
							<td>类型名称：</td>
							<td ng-bind="record.categoryName"></td>
						</tr>
						<tr>
							<td>设备状态：</td>
							<td>
							<span ng-show="record.status==1">启用</span>
							<span ng-show="record.status==0" class="text-danger">停用</span>
							</td>
							<td>在线状态：</td>
							<td>
							<span ng-show="record.status==1">在线</span>
							<span ng-show="record.status==0" class="text-danger">离线</span>
							<span ng-show="record.status==2" class="text-danger">异常</span>
							</td>
						</tr>
						<tr>
							<td>房屋名称：</td>
							<td ng-bind="record.houseName"></td>
							<td>是否集成视频：</td>
							<td>
							<span ng-show="record.isIntegratedVideo==1">是</span>
							<span ng-show="record.isIntegratedVideo==0" class="text-danger">否</span>
							</td>
							
						</tr>
						<tr>
							<td>
		                        <input type="checkbox" data-code="0" id="A0" ><label for="" class="abilityType">刷卡</label>
		                        <input type="checkbox" data-code="1" id="A1" ><label for="" class="abilityType">网络</label>
		                        <input type="checkbox" data-code="2" id="A2" ><label for="" class="abilityType">蓝牙</label>
							</td>
							<td>
							</td>
							<td>mac：</td>
							<td ng-bind="record.mac"></td>
						</tr>
					</table>
                </form>
            </div>
    </div>
</div>


<style scoped>
	.app-content-body .content{
		margin-top:44px;
	}

</style>
